﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using TaxData.Log;
using TaxEntity.Log;
using TaxEntity.User;

namespace TaxBiz.Log
{
    public class EmailLogBiz
    {
        /// <summary>
        /// 获取邮件日志
        /// </summary>
        public static DataTable GetList(string strWhere, int pageSize, int page, ref int allCount)
        {
            DataTable dt = EmailLogData.GetList(strWhere, pageSize, page, ref allCount);
            return dt;
        }

        /// <summary>
        /// 增加邮件日志
        /// </summary>
        public static long Add(UserEntity sendToUser, string receiveUser, int storeID, string OptContent, bool isSuccess)
        {
            long id = EmailLogData.Add(sendToUser,receiveUser, storeID, OptContent, isSuccess);
            return id;
        }
    }
}
